package cn.bonoon.controllers.fmm;

import cn.bonoon.kernel.annotations.Cutoff;
import cn.bonoon.kernel.annotations.TransformField;
import cn.bonoon.kernel.support.models.AbstractItem;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;

public class AbstractAccountItem extends AbstractItem implements AccountDefine {

	private static final long serialVersionUID = -7751577912051039030L;
	
	@TransformField("status")
	private int statusValue;

	@AsColumn(width = 100, ordinal = 0)
	private String loginName;
	
	@AsColumn(width = 130, ordinal = 10)
	@Cutoff(-1)
	private String name;
	
	@AsColumn(width = 70, ordinal = 15)
	private String typeName;
	
	@AsColumn(width = 50, ordinal = 30)
	private String status;
	
	@AsColumn(width = 100, ordinal = 40)
	private String lastLogonIp;

	public int getStatusValue() {
		return statusValue;
	}

	public void setStatusValue(int statusValue) {
		this.statusValue = statusValue;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getLastLogonIp() {
		return lastLogonIp;
	}

	public void setLastLogonIp(String lastLogonIp) {
		this.lastLogonIp = lastLogonIp;
	}

}
